arr = [
    [1, 2, 3],
    [4, 5, 6]
]

for i in arr:
    for j in i:
        print(j)
    print()

# 使用列表生成式 生成一个二维列表
arr = [[i for i in range(1, 4)] for j in range(2)]
print(arr)
